import matplotlib.pyplot as plt
import seaborn as sns
import pandas as pd
import numpy as np

x1=np.random.randn(100)
x2=np.random.randn(100)
x3=np.random.randn(100)

x5=np.random.randint(0,3,100)
x=np.c_[x1,x2,x3,x5]
x=pd.DataFrame(x,columns=list('abce'))
print(x)
sns.pairplot(x,hue='e',diag_kind='kde')
plt.show()